package com.inspur.s57.datacatalog.service;

import com.inspur.s57.datacatalog.entity.CataLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface CataLogService {

    Page<CataLog> findCataLogByPage(String className,Pageable pageable);

    List<CataLog> findAllCataLog();

    List<CataLog> findCataLogsByType(String type);

    CataLog findCataLogById(int id);

    boolean saveCataLog(CataLog cataLog);

    boolean deleteCataLogById(int id);
}
